package com.lbt.javaSE.gragh;

import com.lbt.javaSE.gragh.impl.GraghList;

public class Main {
    public static void main(String[] args) {
        GraghList<String,Integer> graghList=new GraghList<>();
        graghList.addEdge("v9","v10",100);
        graghList.addEdge("v1","v2",2);
        graghList.addEdge("v2","v0",3);
        graghList.addEdge("v1","v3",4);
        graghList.addEdge("v3","v4",5);
        graghList.addEdge("v0","v4",6);

//        System.out.println("打印");
//        graghList.bfs("v1");
        graghList.getOutEdges("v1");

    }
}
